/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.wms.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.wms.entity.WorkStatistics;
import com.jeeplus.modules.wms.mapper.WorkStatisticsMapper;

/**
 * 作业量统计Service
 * @author 李超辉
 * @version 2018-07-13
 */
@Service
@Transactional(readOnly = true)
public class WorkStatisticsService extends CrudService<WorkStatisticsMapper, WorkStatistics> {

	public WorkStatistics get(String id) {
		return super.get(id);
	}
	
	public List<WorkStatistics> findList(WorkStatistics workStatistics) {
		return super.findList(workStatistics);
	}
	
	public Page<WorkStatistics> findPage(Page<WorkStatistics> page, WorkStatistics workStatistics) {
		return super.findPage(page, workStatistics);
	}
	
	@Transactional(readOnly = false)
	public void save(WorkStatistics workStatistics) {
		super.save(workStatistics);
	}
	
	@Transactional(readOnly = false)
	public void delete(WorkStatistics workStatistics) {
		super.delete(workStatistics);
	}
	
}